package com.ruoyi.detail.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投票明细对象 house_vote_score_detail
 * 
 * @author ruoyi
 * @date 2023-10-07
 */
public class HouseVoteScoreDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细id */
    private Long detailId;

    /** 微信id */
    @Excel(name = "微信id")
    private String openId;

    /** 投票id */
    @Excel(name = "投票id")
    private Long voteId;

    /** 投票名称 */
    @Excel(name = "投票名称")
    private String voteName;


    /** 题目 */
    @Excel(name = "题目")
    private String voteTopic;


    /** 小区名称 */
    @Excel(name = "小区名称")
    private String areaName;

    private String propertyId;

    /** 题目id */
    @Excel(name = "题目id")
    private Long topicId;

    /** 答案 VOTE002, 1：非常不满意 2：不满意 3：一般 4：满意 5：非常满意 */
    @Excel(name = "答案 VOTE002, 1：非常不满意 2：不满意 3：一般 4：满意 5：非常满意")
    private String answer;

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setVoteId(Long voteId) 
    {
        this.voteId = voteId;
    }

    public Long getVoteId() 
    {
        return voteId;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("openId", getOpenId())
            .append("voteId", getVoteId())
            .append("areaName", getAreaName())
            .append("topicId", getTopicId())
            .append("answer", getAnswer())
            .toString();
    }

    public String getVoteName() {
        return voteName;
    }

    public void setVoteName(String voteName) {
        this.voteName = voteName;
    }

    public String getVoteTopic() {
        return voteTopic;
    }

    public void setVoteTopic(String voteTopic) {
        this.voteTopic = voteTopic;
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }
}
